package com.easyedu.core.utils;

import com.easyedu.core.entity.po.LearnBuilding;
import com.easyedu.core.entity.po.SleepBuilding;
import java.util.List;


public class BuildingUtils {

    // TODO
    public static LearnBuilding getNearLearningBuilding(SleepBuilding sleepBuilding, List<LearnBuilding> learnBuildings){
        int x = sleepBuilding.getX();
        int y = sleepBuilding.getY();
        LearnBuilding resLearnbuilding = null;
        for (LearnBuilding learnBuilding : learnBuildings) {
            int lx = learnBuilding.getX();
            int ly = learnBuilding.getY();

        }
        return resLearnbuilding;
    }
}
